//
//  WLSocketBlockWorker.h
//  WanLian
//
//  Created by 123456 on 2019/1/4.
//  Copyright © 2019 wanlian. All rights reserved.
//

#import "WLSocketWorker.h"
NS_ASSUME_NONNULL_BEGIN

@class WLFileTransportHeadModel;
/*分块头部信息*/
typedef struct head{
    char filename[FILENAME_MAXLEN];     //文件名
    int freeid;                             //分块所属文件的id，gconn[CONN_MAX]数组的下标
    unsigned long long offset;                         //分块在原文件中偏移
    int bs;                             //本文件块实际大小
} FileBlockHeadInfoStruct;

@interface WLSocketBlockWorker : WLSocketWorker
- (void)sendFileDataWithHeadModel:(WLFileTransportHeadModel *)headModel;
@end

NS_ASSUME_NONNULL_END
